/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sistema.de.fixture.auf.dominio;

import javax.print.DocFlavor.STRING;

/**
 *
 * @author gabriel
 */

public class Equipo {
    
    private int Num;
    private String Nom;

    public Equipo(int Num, String Nom) {
        this.Num = Num;
        this.Nom = Nom;
    }
    
   @Override
   public String toString() {
       
       if ( !this.Nom.equals("Libre"))
       return this.Num + " - " + this.Nom;
       
       return "";
       
   }
    
    public String getNom() {
        return Nom;
    }

    public void setNom(String Nom) {
        this.Nom = Nom;
    }

    public int getNum() {
        return Num;
    }

    public void setNum(int Num) {
        this.Num = Num;
    }
   
}
